<h4 class="widgettitle nomargin shadowed">Ubah Data Guru</h4>
<div class="widgetcontent bordered shadowed nopadding">
    <form class="stdform stdform2" method="POST" action="">
    <input type="hidden" name="id" value="<?php echo $id ?>" />
        <p>
            <label for="nama_lengkap">
                Nama Lengkap
                <small>Termasuk gelar</small>
            </label>
            <span class="field">
                <input id="nama_lengkap" class="input-xlarge" type="text" name="nama_lengkap" required maxlength="50" value="<?php echo $nama_lengkap ?>" />
            </span>
        </p>
        <p>
            <label for="jenis_kelamin">
                Jenis Kelamin
            </label>
            <span class="field">
                <select id="jenis_kelamin" name="jenis_kelamin" class="uniformselect">
                    <option value="L" <?php echo $jenis_kelamin == "L" ? "selected" : ""; ?>>Laki-Laki</option>
                    <option value="P" <?php echo $jenis_kelamin == "P" ? "selected" : ""; ?>>Perempuan</option>
                </select>
            </span>
        </p>
        <p>
            <label for="nomor_induk">
                Nomor Induk Pengajar
            </label>
            <span class="field">
                <input id="nomor_induk" type="text" name="nomor_induk" required class="input-large" maxlength="30" value="<?php echo $nomor_induk ?>" />
            </span>
        </p>
        <p>
            <label for="jabatan">
                Jabatan
            </label>
            <span class="field">
                <input id="jabatan" type="text" name="jabatan" required class="input-large" maxlength="30" value="<?php echo $jabatan ?>" />
            </span>
        </p>
        <p>
            <label for="golongan">
                Golongan
            </label>
            <span class="field">
                <input id="golongan" type="text" name="golongan" required class="input-small" maxlength="10" value="<?php echo $golongan ?>" />
            </span>
        </p>
        <p>
            <label for="alamat">
                Alamat
            </label>
            <span class="field">
                <textarea id="alamat" name="alamat" required id="autoResizeTA" cols="80" rows="5" class="span5" style="resize: vertical"><?php echo $alamat ?></textarea>
            </span>
        </p>
        <p>
            <label for="nomor">
                Nomor Telepon / Handphone
            </label>
            <span class="field">
                <input id="nomor" type="text" name="nomor" required class="input-medium" maxlength="20" value="<?php echo $nomor ?>" />
            </span>
        </p>
        
        <p class="stdformbutton">
            <button class="btn btn-primary">Simpan</button>
            <button type="reset" class="btn">Reset</button>
        </p>
    </form>
</div>
<?php echo validation_errors(); ?>